<?php echo $this->doctype() ?>
<html xmlns="http:/www.w3.org/1999/xhtml">
 
	<head>
		
		<?php echo $this->headTitle(); ?>
		<?php echo $this->headMeta(); ?>
        
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="<?php echo $this->templateURL; ?>/css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="<?php echo $this->templateURL; ?>/css/style.css" type="text/css" media="screen" />
        		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid 	-->
		<link rel="stylesheet" href="<?php echo $this->templateURL; ?>/css/invalid.css" type="text/css" media="screen" />
		
        <?php echo $this->headLink(); ?>
        
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
  
		<!-- jQuery -->
		<script type="text/javascript" src="<?php echo $this->templateURL; ?>/js/jquery-1.9.1.js"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="<?php echo $this->templateURL; ?>/js/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="<?php echo $this->templateURL; ?>/js/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="<?php echo $this->templateURL; ?>/js/jquery.wysiwyg.js"></script>
        
        <!-- jQuery UI -->
        <?php echo $this->headScript(); ?>
        
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
	</head>
  
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<div id="sidebar">
            <?php //echo $this->partial('sidebar.phtml'); ?>
            <?php echo $this->render('sidebar.phtml'); ?>
        </div> <!-- End #sidebar -->
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			<noscript> <!-- Show a notification if the user has disabled javascript -->
				<div class="notification error png_bg">
					<div>
						Javascript is disabled or is not supported by your browser. Please <a href="http:/browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http:/www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
					</div>
				</div>
			</noscript>
			
			<!-- Page Head -->
            <?php
                echo $this->render('pagehead.phtml');
            ?>
			<!-- End .shortcut-buttons-set -->
			
			<div class="clear"></div> <!-- End .clear -->
			
			
				
			 <?php //echo $this->partial('content.phtml'); ?>
             <?php echo $this->layout()->content; ?>
				
			
			
			<div class="clear"></div>
			
			
			<!-- Start Notifications -->
			
			 <?php //echo $this->render('notifications.phtml'); ?>
			
			<!-- End Notifications -->
			
			<div id="footer">
				<?php echo $this->render('footer.phtml'); ?>
			</div><!-- End #footer -->
			
		</div> <!-- End #main-content -->
		
	</div></body>
  
</html>
